/**
 *  编辑弹出框配置
 */
// 表单数据
export const editorFormColumn = [
    {
        id: 1,
        key: 'name',
        label: '姓名',
        value: '李狗蛋儿',
        prop: 'input',
        placeholder: '请输入',
        rules: [{ required: true, message: '请输入', trigger: 'blur' }],
    },
    {
        id: 2,
        key: 'choose',
        label: '选择',
        options: [
            {
                label: 'test1',
                value: 'test1',
            },
            {
                label: 'test2',
                value: 'test2',
            },
        ],
        prop: 'select',
        placeholder: '请输入',
    },
    {
        id: 3,
        key: 'gender',
        label: '性别',
        options: [
            {
                label: '男',
                value: 1,
            },
            {
                label: '女',
                value: 2,
            },
            {
                label: '保密',
                value: 3,
            },
        ],
        prop: 'radio',
        placeholder: '请输入',
    },
    {
        id: 4,
        key: 'flag',
        label: '是否开启',
        prop: 'switch',
    },
    {
        id: 5,
        key: 'likes',
        label: '爱好',
        prop: 'checkbox',
        options: [
            {
                label: '游戏',
                name: 'game',
            },
            {
                label: '篮球',
                name: 'basketball',
            },
            {
                label: '音乐',
                name: 'music',
            },
        ],
    },
    {
        id: 6,
        key: 'number',
        label: '数字',
        prop: 'input',
        placeholder: '请输入',
        type: 'number',
    },
    {
        id: 7,
        key: 'content',
        label: '内容',
        prop: 'input',
        placeholder: '请输入',
        type: 'textarea',
    },
];



